<template>
	<view class="layout">
		<web-view :src="url" upda></web-view>
	</view>
</template>

<script setup>
	import {
		ref
	} from 'vue';

	import {
		onLoad
	} from "@dcloudio/uni-app"

	const url = ref("");

	onLoad((res) => {
		console.log(res);
		url.value = res.url;
		uni.setNavigationBarTitle({
			title: res.title
		})
	})
</script>

<style lang="scss">
	page {
		background: $me-color-background;
	}
</style>

<style lang="scss" scoped>
</style>